{foreach name="list" item="item"}
    <a href="{:url('detail',array('id'=>$item.id))}" class="pic-item">
        <div class="pic-item-container">
            <div class="img-container">
                <img src="{$item.img}">
            </div>
            <div class="pic-item-text">
                <div style="display: flex">
                    <div class="icon-text view">
                        <div class="icon"></div>
                        <div class="text">{$item.pv}</div>
                    </div>
                    <div class="icon-text like">
                        <div class="icon"></div>
                        <div class="text">{$item.like_num}</div>
                    </div>
                    <div class="icon-text tag">
                        <div class="icon"></div>
                        <div class="text">{$item.comment_num}</div>
                    </div>
                </div>
                <div class="title">{$item.detail}</div>
            </div>
        </div>
    </a>
{/foreach}